package com.woniuxy.light_smart.mapper;

import com.woniuxy.light_smart.entity.Role;
import com.woniuxy.light_smart.entity.Troops;

import java.util.List;

/**
* @author asus
* @description 针对表【troops】的数据库操作Mapper
* @createDate 2022-12-06 15:45:42
* @Entity com.woniuxy.light_smart.entity.Troops
*/
public interface TroopsMapper {
    List<Troops> selectAll();
    int deleteByPrimaryKey(Long id);

    int insert(Troops record);

    int insertSelective(Troops record);

    Troops selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Troops record);

    int updateByPrimaryKey(Troops record);

}
